﻿<Application x:Class="Beaker.OpenCube.WorldViewer.App"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:vm="clr-namespace:Beaker.OpenCube.WorldViewer.ViewModels"
             xmlns:conv="clr-namespace:Beaker.OpenCube.WorldViewer.Converters"
             xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:Converters="clr-namespace:Beaker.OpenCube.Converters"
             StartupUri="MainWindow.xaml"
>
	<Application.Resources>
		<ResourceDictionary>
			<vm:MainViewModel x:Key="MainViewModel" />
			<conv:StringFormatConverter x:Key="StringFormatConverter"/>
			<sys:String x:Key="WindowTitle">{0} - World Viewer</sys:String>
			<conv:GdiImageConverter x:Key="GdiImageConverter" />
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/Fluent;Component/Themes/Metro/White.xaml" />
				<ResourceDictionary Source="Views/OpenWorldView.xaml" />
				<ResourceDictionary Source="Views/OpenTexturePackView.xaml" />
				<ResourceDictionary Source="Views/OpenProfileView.xaml" />
				<ResourceDictionary Source="Views/ChunkView.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Application.Resources>
</Application>
